package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.dto.DishDto;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface DishService extends IService<Dish> {
    boolean saveWithDishFlaver(DishDto dishDto);


    boolean updateWithDishFlavar(DishDto dishDto);

    void delete(List<Long> ids);
}
